home *** CD-ROM | disk | FTP | other *** search
- Path: surfnet.nl!sun4nl!xs4all!falstaff
- From: falstaff@xs4all.nl (Falstaff)
- Newsgroups: comp.lang.c
- Subject: Re: How do I write gets() function that checks for boundaries?
- Date: 8 Mar 1996 10:18:58 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4hp1ii$88u@news.xs4all.nl>
- References: <313FDB9F.7455@cyberus.ca>
- NNTP-Posting-Host: xs1.xs4all.nl
- X-Newsreader: NN version 6.5.0 #666 (NOV)
-
- MC <mcardinal@cyberus.ca> writes:
-
- >I want to write my own gets() function that will check string size so that
- it doesn't accept more
- >characters than my declared string variable. Any ideas?
-
- How about fgets(string,size,file)?
-
- Frank
- --
- The famous GIICM now on line: http://www.xs4all.nl/~falstaff/GIICM.html
- ------------------------------------------------------------------------
- Frank A. Vorstenbosch +31-(70)-355 5241 falstaff@xs4all.nl
-